package rizhi;


import org.slf4j.ILoggerFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;



public class LogBackDemo1 {
   // private static final Logger LOGGER =   LoggerFactory.getLogger(LogBackDemo1.class);
private static final Logger LOGGER = LoggerFactory.getLogger(LogBackDemo1.class);
    public static void main(String[] args) {

            try {
                LOGGER.trace("trace");
                LOGGER.debug("debug");
                LOGGER.info("info");
                LOGGER.warn("warn");
                LOGGER.error("error");
            }catch(Exception e){
                LOGGER.error("出错啦");
            }
        for (int i = 0; i < 100009; i++) {
            LOGGER.error("出错啦"+i);
        }
        }

}
